﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 软构大作业
{
    public class Global
    {
        private static Global _Instance = null;
        public static Global Instance
        {
            get
            {
                if (_Instance == null)
                    _Instance = new Global();
                return _Instance;
            }
        }
        public Form1 form1login = null;
        public Form2 form2login = null;
        public Form3 form3login = null;
        public Form4 form4login = null;
        public Form5 form5login = null;
        public Form6 form6login = null;
        public Form7 form7login = null;
        public Form8 form8login = null;
        public Form9 form9login = null;
        public Form10 form10login = null;
        public Form11 form11login = null;
        public Form12 form12login = null;
        public Form13 form13login = null;
        public Form14 form14login = null;
        public Form15 form15login = null;
        public Form16 form16login = null;
        public Form17 form17login = null;
        public Form18 form18login = null;
        public class User
        {
            public string Username { get; set; }
            // 可以添加其他用户属性
        }
        public User CurrentUser { get; set; }

    }
}
